/* 板块样式 */
body {
    background-color: #f5f5f5;
}
header {
    height: 60px;
    background-color: #fff;
}
.banner {
    height: 300px;
    background-color: red;
}
.show {
    height: 368px;
}
.main {
    height: 1420px;
}
.free {
    height: 202px;
}
footer {
    height: 374px;
    background-color: pink;
}
.center-wrap {
    width: 1160px;
    height: 100%;
    margin: 0 auto;
}

/* 页首 */
header .logo {
    float: left;
    height: 41px;
    padding-top: 18px;
}
header .logo img {
    width: 120px;
    height: 30px;
}
header nav {
    float: right;
}
header nav .nav {

}
header nav .nav .nav-item {
    float: left;
    margin-right: 31px;
    line-height: 60px;
    width: 60px;
    text-align: center;
    position: relative;
}
header nav .nav .nav-item:last-child {
    margin-right: 0;
}
header nav .nav .nav-item a {
    font-size: 14px;
    color: #666666;
}
header nav .nav .nav-item:hover a {
    color: #333333;
    font-weight: bold;
}
header nav .nav .nav-item .line {
    width: 0px;
    height: 2px;
    background-color: #865EFF;
    margin:  0 auto;
    transform: translateY(-2px);
    transition: .4s;
}
header nav .nav .nav-item:hover .line {
    width: 45px;
}
header nav .nav .nav-item.active .line {
    width: 45px;
}
header nav .nav .nav-item.active a {
    color: #333333;
    font-weight: bold;
}
header nav .nav .nav-item .picture img {
    width: 43px;
    height: 43px;
    position: absolute;
    top: -43px;
    left: 9px;
    transition: .4s;
}
header nav .nav .nav-item:hover img {
    top: 5px;
}
header nav .nav .nav-item.have-pic a {
    opacity: 1;
    transition: .4s;
}
header nav .nav .nav-item.have-pic:hover a {
    opacity: 0;
}
/* 横幅 */
.banner {
    background: url(http://www.bufanui.com/pages/front/pages/static/img/ui-banner.jpg) no-repeat center;
    background-size: cover;
    margin-bottom: 54px;
}

/* 导航栏 */
.daohang  {
    position: sticky;
    top: 0;
    z-index: 9;
    /* margin-top: -1px; */
    transform: translateY(-1px);
}
.daohang nav {
    margin-bottom: 50px;
    height: 40px;
    background-color: #f5f5f5;
}
.daohang nav .nav {
    width: fit-content;
    margin: 0 auto;
}
.daohang nav .nav .nav-item {
    float: left;
    margin-right: 94px;
    position: relative;
}
.daohang nav .nav .nav-item a {
    font-size: 18px;
    color: #666666;
    display: block;
    margin-bottom: 4px;
}
.daohang nav .nav .nav-item .line {
    width: 0px;
    height: 4px;
    background-color: #865EFF;
    border-radius: 2px;
    margin: 0 auto;
    transition: width .3s ease 0s;
}
.daohang nav .nav .nav-item:hover .line {
    width: 35px;
}
.daohang nav .nav .nav-item:hover a {
    color: #333333;
}
.daohang nav .nav .nav-item.active .line {
    width: 35px;
}
.daohang nav .nav .nav-item.active a {
    color: #333333;
}

/* 展示 */
.show .content .content-left {
    float: left;
    width: 442px;
    height: 242px;
    margin-right: 43px;
}
.show .content .content-left .r {
    float: right;
    padding: 14px 14px 14px 29px;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 14px;
    border-radius: 29px 0 0 29px;
}
.show .content .content-left .r:last-child {
    margin-bottom: 0;
}
.show .content .content-left .one {
    background-image: linear-gradient(270deg, #39B6F9 0%, #3C70F2 100%);
}
.show .content .content-left .two {
    background-image: linear-gradient(270deg, #A066FC 0%, #3514CE 100%);
}
.show .content .content-left .three {
    background-image: linear-gradient(270deg, #7C96B3 0%, #4B6077 100%);
}
.show .content .content-left .four {
    background-image: linear-gradient(270deg, #FFA259 0%, #FE5E80 100%);
}

.show .content .content-desc {
    float: left;
    width: 157px;
    height: 242px;
    font-size: 18px;
    color: #333333;
    /* text-align: center; */
    /* line-height: 242px; */
    font-weight: bold;
    position: relative;
}
.show .content .content-desc span {
    position: absolute;
    color: #e4e4e4;
    display: block;
    width: 82px;
    height: 100px;
    font-size: 78px;
    top: 50%;
    left: 50%;
    margin-left: -41px;
    margin-top: -50px;
    transform: scaleY(2.2);
    font-weight: bold;
    line-height: 87px;
}
.show .content .content-desc .imp {
    font-style: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 154px;
    z-index: 1;
}
.show .content .content-right {
    float: right;
    width: 442px;
    height: 242px;
    margin-right: 43px;
}
.show .content .content-right .r {
    float: left;
    padding: 14px 14px 14px 29px;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 14px;
    border-radius:0 29px 29px 0;
}
.show .content .content-right .r:last-child {
    margin-bottom: 0;
}
.show .content .content-right .one {
    background-image: linear-gradient(270deg, #39B6F9 0%, #3C70F2 100%);
}
.show .content .content-right .two {
    background-image: linear-gradient(270deg, #A066FC 0%, #3514CE 100%);
}
.show .content .content-right .three {
    background-image: linear-gradient(270deg, #7C96B3 0%, #4B6077 100%);
}
.show .content .content-right .four {
    background-image: linear-gradient(270deg, #FFA259 0%, #FE5E80 100%);
}

/* 内容 */
.main {
    margin-bottom: 90px;
}
.main .c {
    height: 313px;
    margin-bottom: 55px;
}
.main .c:last-child {
    margin-bottom: 0;
}
.main .one {
    
}
.main .c .title {
    height: 73px;
    margin-bottom: 30px;
}
.main .c .title .title-left {
    float: left;
}
.main  .c .title .title-left .one span {
    display: inline-block;
    width: 56px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    background-color: #865EFF;
    color: #fff;
    font-size: 13px;
    border-radius: 2px;
    margin-right: 22px;
}
.main  .two .title .title-left .one span {
    background-color: #71B903;
}
.main .three .title .title-left .one span {
    background-color: #3B89F4;
}
.main  .four .title .title-left .one span {
    background-color: #FE7488;
}
.main .c .title .title-left .one strong {
    font-size: 26px;
    color: #333;
}
.main .c .title .title-left .one  {
    margin-bottom: 11px;
}
.main .c .title .title-left .two {
    font-size: 18px;
    color: #333333;
}
.main .one-o .title .title-right {
    float: right;
    height: 100%;
    font-size: 18px;
    color: #333333;
    line-height: 53px;
}
.main .one-o .title .title-right strong {
    font-size: 60px;
    position: relative;
    top: 10px;
}
.main .c .content .content-box {
    float: left;
    width: 570px;
    height: 210px;
    background-color: #fff;
    margin-right: 20px;
    padding-top: 28px;
    padding-left: 22.5px;
    box-sizing: border-box;
    border-radius: 5px;
    position: relative;
}
/* 蒙层 */
.main .c .content .content-box .mask {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(270deg, #A066FC 0%, #3514CE 100%);
    opacity: 0;
    transition: 1s;
}
.main .c .content .content-box:hover .mask {
    opacity: 1;
}
.main .c .content .content-box .mask .picbox {
    width: 125px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.main .c .content .content-box .mask .picbox img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.main .c .content .content-box:last-child {
    margin-right: 0;
}
.main .c .content .content-box ul li {
    margin-bottom: 19.9px;
}
.main .c .content .content-box ul li a {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    line-height: 21px;
}
.main .c .content .content-box ul li a span {
    font-size: 15px;
    color: gray;
    line-height: 25px;
}

/* 免费课程 */
.free {
    margin-bottom: 90px;
}
.free .title {
    margin-bottom: 20px;
}
.free .title p {
    font-size: 22px;
    color: #000000;
    font-weight: bold;
}
.free .title p span {
    font-size: 14px;
    color: #969696;
    padding-left: 11px;
}
.free .content .box {
    width: 275px;
    height: 153px;
    float: left;
    margin-right: 20px;
    transform: translateY(0);
    transition: .5s;
}
.free .content .box .picbox:hover {
    transform: translateY(-10px);
}
.free .content .box .picbox img {
    transform: rotate(0);
    transition: .5s;
}
.free .content .box .picbox:hover img{
    transform: rotate(20deg);
}
.free .content .box:last-child {
    margin-right: 0;
}
.free .content .box .picbox {
    width: 275px;
    height: 105px;
    background-color: green;
    background-size: cover;
    margin-bottom: 7.5px;
    text-align: center;
    padding-top: 26.5px;
    box-sizing: border-box;
    transition: .4s;
    border-radius: 5px;
}
.free .content .box1 .picbox {
    background: url(../img/super_1.png) no-repeat center;
}
.free .content .box2 .picbox {
    background: url(../img/super_2.png) no-repeat center;
}
.free .content .box3 .picbox {
    background: url(../img/super_3.png) no-repeat center;
}
.free .content .box4 .picbox {
    background: url(../img/super_4.png) no-repeat center;
}
.free .content .box .picbox img{
    width: 50px;
    height: 50px;
}

.free .content .box .wordbox .gx {
    display: inline-block;
    width: 58px;
    height: 20px;
    border-radius: 4px;
    background-color: #1BAA0C;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
    margin-right: 9px;
    display: none;
}
.free .content .box.active .wordbox .gx {
    display: inline-block;
}
.free .content .box .wordbox .desc {
    font-size: 14px;
    color: #333333;
    line-height: 20px;
}
.free .content .box .wordbox .teacher {
    font-size: 12px;
    color: #999999;
    margin-top: 2.5px;
}

/* 页脚 */
.top-part {
    height: 314px;
    background-color: #282c35;
    padding-top: 62px;
    box-sizing: border-box;
}
.top-part .box {
    float: left;
}
.top-part .qr {
    width: 180px;
    text-align: center;
    font-size: 14px;
    color: #999999;
    margin-right: 116px;
}
.top-part .qr img {
    width: 180px;
    height: 180px;
}   
.top-part .tel {
    width: 154px;
    height: 250px;
    margin-right: 140px;
    /* text-align: center; */
}
.top-part .tel p:first-child {
    color: #999999;
    font-size: 14px;
    margin-bottom: 8px;
}
.top-part .tel p:nth-child(2) {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 1px;
}
.top-part .tel p:nth-child(3) {
    font-size: 12px;
    color: #999999;
    margin-bottom: 31px;
    text-align: center;
}
.top-part .tel .zx {
    width: 154px;
    height: 41px;
    border-radius: 20.5px;
    background-image: linear-gradient(-40deg, #A066FC 0%, #5939EC 100%);
    text-align: center;
    line-height: 41px;
    position: relative;
    right: 2px;
}
.top-part .tel .zx a {
    font-size: 16px;
    color: #FFFFFF;
}

.top-part .address {
    width: 231px;
    margin-right: 151px;
}
.top-part .address p:first-child {
    font-size: 14px;
    color: #999999;
    margin-bottom: 8px;
}
.top-part .address p:nth-child(2) {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 27px;
}
.top-part .address p:nth-child(3) {
    font-size: 14px;
    color: #999999;
    margin-bottom: 6px;
}
.top-part .address p:nth-child(4) {
    font-size: 18px;
    color: #FFFFFF; 
}
.top-part .wx-and-wb {
    width: 106px;
}
.top-part .wx-and-wb span {
    color: #999999;
    margin-right: 29px;
    font-size: 32px;
}
.top-part .wx-and-wb span:last-child {
    margin-right: 0;
}

footer .bottom-part {
    height: 60px;
    background-color:  #20232A;
}
footer .bottom-part .c {
    width: 710px;
    margin:  0 auto;
}
footer .bottom-part .c ul {
    float: left;
    margin-right: 41px;
}
footer .bottom-part .c ul li {
    float: left;
    line-height: 60px;
    margin-right: 20px;
    font-size: 12px;
    color: #666666;
}
footer .bottom-part .c ul li:last-child {
    margin-right: 0;
}
footer .bottom-part .c ul li a {
    font-size: 12px;
    color: #666666;
}
footer .bottom-part .c  span {
    display: block;
    float: left;
    font-size: 12px;
    color: #666666;
    padding-top: 23px;
}

/* 点我咨询 */
.i-know {
    width: 130px;
    height: 41px;
    background-image: linear-gradient(-40deg, #A066FC 0%, #5939EC 100%);
    border-radius: 20.5px;
    position: fixed;
    right: -25px;
    bottom: 40%;
    line-height: 41px;
    text-align: center;
    font-size: 16px;
    color: #FFFFFF;
    transition: .4s;
    cursor: pointer;
}
.i-know:hover {
    right: 0;
}